import request from '@/utils/request'

// 查询VIEW列表
export function listSample_Weekly_Report(query) {
  return request({
    url: '/system/Sample_Weekly_Report/list',
    method: 'get',
    params: query
  })
}

// 查询VIEW详细
export function getSample_Weekly_Report(YWP) {
  return request({
    url: '/system/Sample_Weekly_Report/' + YWP,
    method: 'get'
  })
}

// 新增VIEW
export function addSample_Weekly_Report(data) {
  return request({
    url: '/system/Sample_Weekly_Report',
    method: 'post',
    data: data
  })
}

// 修改VIEW
export function updateSample_Weekly_Report(data) {
  return request({
    url: '/system/Sample_Weekly_Report',
    method: 'put',
    data: data
  })
}

// 删除VIEW
export function delSample_Weekly_Report(YWP) {
  return request({
    url: '/system/Sample_Weekly_Report/' + YWP,
    method: 'delete'
  })
}

export function getVexpDevelopsampleClothingProcessnewAList(type) {
  return request({
    url: '/system/Sample_Weekly_Report/getVexpDevelopsampleClothingProcessnewAList',
    method: 'get',
    params:type,
  })
}
